package com.book.bean;

import java.util.List;

public class PageVo<T> {
	private int pageIndex;// 当前显示的页码
	private int pageSize;// 显示的数据数量
	private int totalPage;// 总页数
	private List<T> pageList;// 当页的数据集

	public int getPageIndex() {
		return pageIndex;
	}
	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public List<T> getPageList() {
		return pageList;
	}
	public void setPageList(List<T> pageList) {
		this.pageList = pageList;
	}
	public PageVo(int pageIndex, int pageSize, int totalPage, List<T> pageList) {
		super();
		this.pageIndex = pageIndex;
		this.pageSize = pageSize;
		this.totalPage = totalPage;
		this.pageList = pageList;
	}

	public PageVo() {
		super();
		// TODO Auto-generated constructor stub
	}

}

